﻿@{
    ViewBag.Title = "写信息";
    Layout = "~/Views/Shared/_UsersCenterLayout.cshtml";
    ViewBag.NavTitle = "写信息";
}
@using MvcMall.Portal.Controllers.Users.ViewModels;
@model WriteMessageModel
<script src="@Url.Content("~/Scripts/jquery-1.4.4.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<div class="right_box">
    <div class="right_box_map">
        我的消息
    </div>
    <div class="right_box_card">
        <ul>
            <li class="right_box_card2">@Html.ActionLink("未读消息", "UnReadMessage", "Users", null, null)</li>
            <li class="right_box_card2">@Html.ActionLink("发件箱", "SendMessages", "Users", null, null)</li>
            <li class="right_box_card2">@Html.ActionLink("收件箱", "ReceiveMessages", "Users", null, null)</li>
            <li class="right_box_card2">@Html.ActionLink("系统信息", "SysMessages", "Users", null, null)</li>
            <li class="right_box_card1"><a href="#">写信息</a></li>
        </ul>
    </div>
    @using (Html.BeginForm())
    {
        <table style="margin-top: 10px;" width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr height="40">
                <td class="tab2_td">
                    收件人：
                </td>
                <td>
                    @Html.TextBoxFor(c => c.ReceiveUsers, new { @class = "tab_input", @style = " width:300px;" })
                    (多个收件人以逗号分割)
                </td>
                <td>
                    @Html.ValidationMessageFor(c => c.ReceiveUsers)
                </td>
            </tr>
            <tr height="40">
                <td class="tab2_td">
                    消息内容：
                </td>
                <td>
                    @Html.TextAreaFor(c => c.Content, new { @class = "tab_input", @style = " width:300px; height:150px;" })
                </td>
                <td>
                    @Html.ValidationMessageFor(c => c.Content)
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td colspan="2">
                    <input type="submit" value="发送消息" />
                </td>
            </tr>
        </table>
    }
</div>
